package com.anjubao.parking.municipal.parkinglot.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ParkingLotEditForm", description = "验证修改停车场对象")
@ToString
public class ParkingLotEditForm {

    @NotBlank
    @ApiModelProperty(value = "停车场名称", required = true)
    private String name;

    @NotBlank
    @ApiModelProperty(value = "停车场详细地址信息", required = true)
    private String location;

    @NotNull
    @ApiModelProperty(value = "车位数", required = true)
    private Integer totalSlots;

    @ApiModelProperty(value = "出口数")
    private Integer exits;

    @ApiModelProperty(value = "入口数")
    private Integer entries;

    @ApiModelProperty(value = "保留车位数")
    private Integer reservedSlots;

    @ApiModelProperty(value = "视频桩数量")
    private Integer videoPorts;

    @ApiModelProperty(value = "地磁数量")
    private Integer geomagnetismPorts;

    @ApiModelProperty(value = "地理位置图片")
    private String geoImgUrl;

    @ApiModelProperty(value = "全景图片")
    private String panoramaImgUrl;


    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "停车场状态 1:正常 0:禁用")
    private Integer status;

    @ApiModelProperty("收费规则 支持多选")
    private List<String> billRuleCodes;


}
